package com.milk.system.mapper;

import com.milk.system.model.entity.Orders;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.milk.system.model.bo.OrdersBO;
import com.milk.system.model.query.OrdersPageQuery;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单信息表 Mapper 接口
 *
 * @author milk
 * @since 2024-05-04
 */

@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    /**
     * 获取用户分页列表
     *
     * @param page
     * @param queryParams 查询参数
     * @return
     */
    Page<OrdersBO> listPagedOrderss(Page<OrdersBO> page, OrdersPageQuery queryParams);

}
